using System;
using System.IO;
using System.Web.UI;

namespace ScottCateAjax2008.Lesson05
{
    public partial class E_EventContent : Page
    {
        protected void Page_Load ( object sender, EventArgs e )
        {
            string path = Server.MapPath( "~/Lesson01/B_JSONResponse.htm" );
            string content = File.ReadAllText( path );

            JsonPlaceHolder.Controls.Clear();
            JsonPlaceHolder.Controls.Add(new LiteralControl(content));
        }
    }
}